package fair.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author fair_wu
 * @version v1.0
 * @date 2021-03-06 下午 22:29
 */
@Api(tags = "登录")
@RestController
public class IndexController {

    @ApiOperation("登录")
    @RequestMapping(value = "login", method = RequestMethod.GET)
    public void login(){
    }

    @ApiOperation("登出")
    @RequestMapping(value = "logout", method = RequestMethod.GET)
    public void logout(){
    }
}
